<% content_for :heading do %>
  <h1><%= t ".heading", :name => @trace.name %></h1>
<% end %>

<%= trace_picture(@trace) %>

<%= bootstrap_form_for @trace do |f| %>
  <%= f.text_field :name, :disabled => true %>
  <%= f.text_field :description, :maxlength => 255 %>
  <%= f.text_field :tagstring %>
  <%= f.select :visibility,
               [[t("traces.visibility.private"), "private"],
                [t("traces.visibility.public"), "public"],
                [t("traces.visibility.trackable"), "trackable"],
                [t("traces.visibility.identifiable"), "identifiable"]],
               :help => link_to(t(".visibility_help"), t(".visibility_help_url")) %>
  <%= f.primary %>
  <%= link_to t(".cancel"), show_trace_path(@trace.user, @trace), :class => "btn btn-link" %>
<% end %>
